package com.newtouch.bxzs.business.statistics.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 业绩实体BO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/7</td>
 * <td>tiansangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tiansangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("业绩BO")
public class AchievementBO implements Serializable {
    /**serialVersionUID*/
    private static final long serialVersionUID = 6495337289691198471L;

    @ApiModelProperty(value = "业绩Id")
    private String achievementId;

    @ApiModelProperty(value = "创建人ID")
    private String createId;


    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    @ApiModelProperty(value = "修改人ID")
    private String modifyId;


    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;


    @ApiModelProperty(value = "备注")
    private String mome;

    @ApiModelProperty(value = "月份")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date month;

    @ApiModelProperty(value = "营销员工号")
    private String marketCode;

    @ApiModelProperty(value = "数量")
    private Integer countNum;

    @ApiModelProperty(value = "规模保费")
    private BigDecimal achievementMoney;


    @ApiModelProperty(value = "个人业绩")
    private BigDecimal achievementCount;

    @ApiModelProperty(value = "组织架构编码")
    private String orgCode;


}
